package com.atguigu.ioc.service.impl;

import com.atguigu.ioc.dao.TestDao;
import com.atguigu.ioc.dao.impl.TestDaoImpl;
import com.atguigu.ioc.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Date:2020/9/24
 * Author:ybc
 * Description:
 */
public class TestServiceImpl implements TestService {

    private TestDao testDao;

    public TestDao getTestDao() {
        return testDao;
    }

    public void setTestDao(TestDao testDao) {
        this.testDao = testDao;
    }

    @Override
    public void addUser() {
        testDao.addUser();
    }

}
